/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.entity;

import com.jeeplus.modules.infor.entity.Project;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 车队Entity
 * @author sld
 * @version 2017-11-23
 */
public class Motorcade extends DataEntity<Motorcade> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private String name;		// 车队名称
	private String principal;		// 负责人
	private String phone;		// 负责人电话
	private String business;		// 主营业务
	
	public Motorcade() {
		super();
	}

	public Motorcade(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="车队名称", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="负责人", align=2, sort=3)
	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}
	
	@ExcelField(title="负责人电话", align=2, sort=4)
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@ExcelField(title="主营业务", align=2, sort=5)
	public String getBusiness() {
		return business;
	}

	public void setBusiness(String business) {
		this.business = business;
	}
	
}